import { ref } from "vue";
import { defineStore } from "pinia";

export const useDeviceHomeStore = defineStore("device-home-store", () => {
  // 基地 id
  const site = ref<number>();

  // 车间 id
  const workshopId = ref<string>("");

  // 工序 id
  const productionProcessId = ref<string>("");

  // 设备主机 id
  const deviceHostId = ref("");
  return { site, workshopId, productionProcessId, deviceHostId };
});
